<?php 
header("Content-Type: text/html; charset=utf-8"); 
session_start();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>RUNNERZ</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="./style.css" rel="stylesheet" type="text/css">
<link href="./ajax.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript" src="./ajax_search.js"></script>

</head>

<body>
<?php if (!isset($_GET['page'])){ $page="inscriptions.php";}else{$page=$_GET['page'];}?>
<?php include("header.php"); ?>
<?php include($page); ?>
<?php 
if(!isset($_SESSION['login'])){
include("footer_".$page.""); 
}else{
include("./admin/admin_footer_".$page); 

}
?>

</body>
</html>
